package com.orhon.smartcampus.modules.baseinfo.entity;

import lombok.EqualsAndHashCode;
import lombok.Getter;
import lombok.Setter;

import javax.persistence.*;
import java.util.Objects;

@Setter
@Getter
@EqualsAndHashCode
@Entity
@Table(name = "baseinfo_school_subject_relation", schema = "smartcloud", catalog = "")
public class SchoolSubjectRelation {

    @Id
    @Column(name = "id", nullable = false)
    private Long id;
    @Column(name = "school_id", nullable = false)
    private Long schoolId;
    @Column(name = "subject_id", nullable = false)
    private Long subjectId;
}
